



<!DOCTYPE html>
<html lang="zh-CN">
<head>
  <meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=2">
<meta name="theme-color" content="#FFF">
  <link rel="apple-touch-icon" sizes="180x180" href="/blog/images/apple-touch-icon.png">

<link rel="icon" type="image/ico" sizes="32x32" href="/blog/images/favicon.ico">
  <meta http-equiv="Cache-Control" content="no-transform">
  <meta http-equiv="Cache-Control" content="no-siteapp">


<link rel="alternate" type="application/rss+xml" title="Endless" href="http://fairy77.gitee.io/rss.xml" />
<link rel="alternate" type="application/atom+xml" title="Endless" href="http://fairy77.gitee.io/atom.xml" />
<link rel="alternate" type="application/json" title="Endless" href="http://fairy77.gitee.io/feed.json" />

<link rel="stylesheet" href="//fonts.googleapis.com/css?family=Mulish:300,300italic,400,400italic,700,700italic%7CFredericka%20the%20Great:300,300italic,400,400italic,700,700italic%7CNoto%20Serif%20JP:300,300italic,400,400italic,700,700italic%7CNoto%20Serif%20SC:300,300italic,400,400italic,700,700italic%7CInconsolata:300,300italic,400,400italic,700,700italic&display=swap&subset=latin,latin-ext">

<link rel="stylesheet" href="/blog/css/app.css?v=0.2.5">

  
  <meta name="keywords" content="MySQL" />


<link rel="canonical" href="http://fairy77.gitee.io/2020/02/29/MySQL%E5%AE%89%E8%A3%85/">



  <title>
MySQL 安装 |
夏季大三角 = Endless</title>
<meta name="generator" content="Hexo 5.4.0"></head>
<body itemscope itemtype="http://schema.org/WebPage">
  <div id="loading">
    <div class="cat">
      <div class="body"></div>
      <div class="head">
        <div class="face"></div>
      </div>
      <div class="foot">
        <div class="tummy-end"></div>
        <div class="bottom"></div>
        <div class="legs left"></div>
        <div class="legs right"></div>
      </div>
      <div class="paw">
        <div class="hands left"></div>
        <div class="hands right"></div>
      </div>
    </div>
  </div>
  <div id="container">
    <header id="header" itemscope itemtype="http://schema.org/WPHeader">
      <div class="inner">
        <div id="brand">
          <div class="pjax">
          
  <h1 itemprop="name headline">MySQL 安装
  </h1>
  
<div class="meta">
  <span class="item" title="创建时间：2020-02-29 13:33:39">
    <span class="icon">
      <i class="ic i-calendar"></i>
    </span>
    <span class="text">发表于</span>
    <time itemprop="dateCreated datePublished" datetime="2020-02-29T13:33:39+08:00">2020-02-29</time>
  </span>
  <span class="item" title="本文字数">
    <span class="icon">
      <i class="ic i-pen"></i>
    </span>
    <span class="text">本文字数</span>
    <span>787</span>
    <span class="text">字</span>
  </span>
  <span class="item" title="阅读时长">
    <span class="icon">
      <i class="ic i-clock"></i>
    </span>
    <span class="text">阅读时长</span>
    <span>1 分钟</span>
  </span>
</div>


          </div>
        </div>
        <nav id="nav">
  <div class="inner">
    <div class="toggle">
      <div class="lines" aria-label="切换导航栏">
        <span class="line"></span>
        <span class="line"></span>
        <span class="line"></span>
      </div>
    </div>
    <ul class="menu">
      <li class="item title"><a href="/blog/" rel="start">夏季大三角</a></li>
    </ul>
    <ul class="right">
      <li class="item theme">
        <i class="ic i-sun"></i>
      </li>
      <li class="item search">
        <i class="ic i-search"></i>
      </li>
    </ul>
  </div>
</nav>

      </div>
      <div id="imgs" class="pjax">
        <ul>
          <li class="item" data-background-image="https://tva1.sinaimg.cn/large/6833939bly1gipewr8iypj20zk0m8b29.jpg"></li>
          <li class="item" data-background-image="https://tva1.sinaimg.cn/large/6833939bly1giclhnx9glj20zk0m8npd.jpg"></li>
          <li class="item" data-background-image="https://tva1.sinaimg.cn/large/6833939bly1giclffsa1cj20zk0m811l.jpg"></li>
          <li class="item" data-background-image="https://tva1.sinaimg.cn/large/6833939bly1gicljitigmj20zk0m87fp.jpg"></li>
          <li class="item" data-background-image="https://tva1.sinaimg.cn/large/6833939bly1giciusoyjnj219g0u0x56.jpg"></li>
          <li class="item" data-background-image="https://tva1.sinaimg.cn/large/6833939bly1giclflwv2aj20zk0m84qp.jpg"></li>
        </ul>
      </div>
    </header>
    <div id="waves">
      <svg class="waves" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 24 150 28" preserveAspectRatio="none" shape-rendering="auto">
        <defs>
          <path id="gentle-wave" d="M-160 44c30 0 58-18 88-18s 58 18 88 18 58-18 88-18 58 18 88 18 v44h-352z" />
        </defs>
        <g class="parallax">
          <use xlink:href="#gentle-wave" x="48" y="0" />
          <use xlink:href="#gentle-wave" x="48" y="3" />
          <use xlink:href="#gentle-wave" x="48" y="5" />
          <use xlink:href="#gentle-wave" x="48" y="7" />
        </g>
      </svg>
    </div>
    <main>
      <div class="inner">
        <div id="main" class="pjax">
          
  <div class="article wrap">
    
<div class="breadcrumb" itemscope itemtype="https://schema.org/BreadcrumbList">
<i class="ic i-home"></i>
<span><a href="/blog/">首页</a></span>
</div>

    <article itemscope itemtype="http://schema.org/Article" class="post block" lang="zh-CN">
  <link itemprop="mainEntityOfPage" href="http://fairy77.gitee.io/2020/02/29/MySQL%E5%AE%89%E8%A3%85/">

  <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
    <meta itemprop="image" content="/blog/images/avatar.jpg">
    <meta itemprop="name" content="Rain Bear">
    <meta itemprop="description" content=", ">
  </span>

  <span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
    <meta itemprop="name" content="Endless">
  </span>

  <div class="body md" itemprop="articleBody">
    

    <p>Windows 压缩包安装</p>
<ul>
<li>1. 官网下载</li>
</ul>
<span id="more"></span>
<p><img data-src="MySQL%E5%AE%89%E8%A3%85/mysql%E5%AE%98%E7%BD%91.png" alt=""></p>
<ul>
<li>
<p>2. 解压到文件夹<br>
<img data-src="MySQL%E5%AE%89%E8%A3%85/%E6%96%87%E4%BB%B6%E8%A7%A3%E5%8E%8B.png" alt=""><br>
添加 my.ini 文件<br>
配置如下：</p>
<p>[client]</p>
<h1 id="设置mysql客户端默认字符集"><a class="markdownIt-Anchor" href="#设置mysql客户端默认字符集">#</a> 设置 mysql 客户端默认字符集</h1>
<p>default-character-set=utf8</p>
<p>[mysqld]</p>
<h1 id="设置3306端口"><a class="markdownIt-Anchor" href="#设置3306端口">#</a> 设置 3306 端口</h1>
<p>port = 3306</p>
<h1 id="设置mysql的安装目录"><a class="markdownIt-Anchor" href="#设置mysql的安装目录">#</a> 设置 mysql 的安装目录</h1>
<p>basedir=F:\DataBase\mysql-8.0.18-winx64</p>
<h1 id="设置-mysql数据库的数据的存放目录mysql-8-不需要以下配置系统自己生成即可否则有可能报错"><a class="markdownIt-Anchor" href="#设置-mysql数据库的数据的存放目录mysql-8-不需要以下配置系统自己生成即可否则有可能报错">#</a> 设置 mysql 数据库的数据的存放目录，MySQL 8+ 不需要以下配置，系统自己生成即可，否则有可能报错</h1>
<h1 id="datadirfdatabasesqldata"><a class="markdownIt-Anchor" href="#datadirfdatabasesqldata">#</a> datadir=F:\DataBase\sqldata</h1>
<h1 id="允许最大连接数"><a class="markdownIt-Anchor" href="#允许最大连接数">#</a> 允许最大连接数</h1>
<p>max_connections=20</p>
<h1 id="服务端使用的字符集默认为8比特编码的latin1字符集"><a class="markdownIt-Anchor" href="#服务端使用的字符集默认为8比特编码的latin1字符集">#</a> 服务端使用的字符集默认为 8 比特编码的 latin1 字符集</h1>
<p>character-set-server=utf8</p>
<h1 id="创建新表时将使用的默认存储引擎"><a class="markdownIt-Anchor" href="#创建新表时将使用的默认存储引擎">#</a> 创建新表时将使用的默认存储引擎</h1>
<p>default-storage-engine=INNODB</p>
</li>
<li>
<p>3. 进入 cmd<br>
<img data-src="MySQL%E5%AE%89%E8%A3%85/%E5%88%9D%E5%A7%8B%E5%8C%96MySQL.png" alt=""><br>
 <code>mysqld --initialize --console</code>  初始化，会显示密码<br>
 <code>mysqld install</code>  安装，需要管理员权限<br>
 <code>net start mysql</code> <br>
<img data-src="MySQL%E5%AE%89%E8%A3%85/%E5%90%AF%E5%8A%A8MySQL.png" alt=""><br>
 注意：在 5.7 需要初始化 data 目录：<br>
 <code>mysqld --initialize-insecure </code> <br>
初始化后再运行  <code>net start mysql</code>  即可启动 mysql。</p>
</li>
<li>
<p>4. 登陆<br>
 <code>mysql -u root -p</code> <br>
<img data-src="MySQL%E5%AE%89%E8%A3%85/%E7%99%BB%E5%BD%95MySQL.png" alt=""></p>
</li>
<li>
<p>5. 修改密码<br>
 <code>alter user 'root'@'localhost' identified by '123456';</code> <br>
<img data-src="MySQL%E5%AE%89%E8%A3%85/%E4%BF%AE%E6%94%B9%E5%AF%86%E7%A0%81.png" alt=""></p>
</li>
<li>
<p>6. 开启远程</p>
<ul>
<li>1. 直接修改 host<br>
 <code>update mysql.user set host='%' where user='root';</code> <br>
<img data-src="MySQL%E5%AE%89%E8%A3%85/%E5%BC%80%E5%90%AF%E8%BF%9C%E7%A8%8B.png" alt=""></li>
<li>2. 创建远程用的用户<br>
 <code>CREATE USER 'dog'@'localhost' IDENTIFIED BY '123456';</code> <br>
 <code>GRANT ALL PRIVILEGES ON *.* TO '这里写账号'@'%' IDENTIFIED BY '这里写密码' WITH GRANT OPTION;</code></li>
</ul>
</li>
</ul>

      <div class="tags">
          <a href="/blog/tags/MySQL/" rel="tag"><i class="ic i-tag"></i> MySQL</a>
      </div>
  </div>

   <footer>

    <div class="meta">
  <span class="item">
    <span class="icon">
      <i class="ic i-calendar-check"></i>
    </span>
    <span class="text">更新于</span>
    <time title="修改时间：2021-11-27 18:36:07" itemprop="dateModified" datetime="2021-11-27T18:36:07+08:00">2021-11-27</time>
  </span>
  <span id="2020/02/29/MySQL安装/" class="item leancloud_visitors" data-flag-title="MySQL 安装" title="阅读次数">
      <span class="icon">
        <i class="ic i-eye"></i>
      </span>
      <span class="text">阅读次数</span>
      <span class="leancloud-visitors-count"></span>
      <span class="text">次</span>
  </span>
</div>

      
<div class="reward">
  <button><i class="ic i-heartbeat"></i> 赞赏</button>
  <p>请我喝[茶]~(￣▽￣)~*</p>
  <div id="qr">
      
      <div>
        <img data-src="/blog/images/wechatpay.png" alt="Rain Bear 微信支付">
        <p>微信支付</p>
      </div>
      
      <div>
        <img data-src="/blog/images/alipay.png" alt="Rain Bear 支付宝">
        <p>支付宝</p>
      </div>
      
      <div>
        <img data-src="/blog/images/paypal.png" alt="Rain Bear 贝宝">
        <p>贝宝</p>
      </div>
  </div>
</div>

      

<div id="copyright">
<ul>
  <li class="author">
    <strong>Rain Bear： </strong>Rain Bear <i class="ic i-at"><em>@</em></i>Endless
  </li>
  <li class="link">
    <strong>本文链接：</strong>
    <a href="http://fairy77.gitee.io/2020/02/29/MySQL%E5%AE%89%E8%A3%85/" title="MySQL 安装">http://fairy77.gitee.io/2020/02/29/MySQL安装/</a>
  </li>
  <li class="license">
    <strong>版权声明： </strong>本站所有文章除特别声明外，均采用 <span class="exturl" data-url="aHR0cHM6Ly9jcmVhdGl2ZWNvbW1vbnMub3JnL2xpY2Vuc2VzL2J5LW5jLXNhLzQuMC9kZWVkLnpo"><i class="ic i-creative-commons"><em>(CC)</em></i>BY-NC-SA</span> 许可协议。转载请注明出处！
  </li>
</ul>
</div>

  </footer>

</article>

  </div>
  

<div class="post-nav">
    <div class="item left">
      

  <a href="/blog/2020/02/28/%E8%8E%B7%E5%8F%96%E7%94%A8%E9%94%AE%E7%9B%98%E8%BE%93%E5%85%A5%E5%B8%B8%E7%94%A8%E7%9A%84%E4%B8%A4%E7%A7%8D%E6%96%B9%E6%B3%95/" itemprop="url" rel="prev" data-background-image="https:&#x2F;&#x2F;tva1.sinaimg.cn&#x2F;mw690&#x2F;6833939bly1giclg5ms2rj20zk0m8u0x.jpg" title="获取用键盘输入常用的两种方法">
  <span class="type">上一篇</span>
  <span class="category"><i class="ic i-flag"></i> </span>
  <h3>获取用键盘输入常用的两种方法</h3>
  </a>

    </div>
    <div class="item right">
      

  <a href="/blog/2020/02/29/git-operation/" itemprop="url" rel="next" data-background-image="https:&#x2F;&#x2F;tva1.sinaimg.cn&#x2F;mw690&#x2F;6833939bly1giclxp31goj20zk0m8qv5.jpg" title="Git&amp;Github">
  <span class="type">下一篇</span>
  <span class="category"><i class="ic i-flag"></i> </span>
  <h3>Git&Github</h3>
  </a>

    </div>
</div>

  
  <div class="wrap" id="comments"></div>


        </div>
        <div id="sidebar">
          

<div class="inner">

  <div class="panels">
    <div class="inner">
      <div class="contents panel pjax" data-title="文章目录">
          <ol class="toc"><li class="toc-item toc-level-1"><a class="toc-link" href="#%E8%AE%BE%E7%BD%AEmysql%E5%AE%A2%E6%88%B7%E7%AB%AF%E9%BB%98%E8%AE%A4%E5%AD%97%E7%AC%A6%E9%9B%86"><span class="toc-number">1.</span> <span class="toc-text"> 设置 mysql 客户端默认字符集</span></a></li><li class="toc-item toc-level-1"><a class="toc-link" href="#%E8%AE%BE%E7%BD%AE3306%E7%AB%AF%E5%8F%A3"><span class="toc-number">2.</span> <span class="toc-text"> 设置 3306 端口</span></a></li><li class="toc-item toc-level-1"><a class="toc-link" href="#%E8%AE%BE%E7%BD%AEmysql%E7%9A%84%E5%AE%89%E8%A3%85%E7%9B%AE%E5%BD%95"><span class="toc-number">3.</span> <span class="toc-text"> 设置 mysql 的安装目录</span></a></li><li class="toc-item toc-level-1"><a class="toc-link" href="#%E8%AE%BE%E7%BD%AE-mysql%E6%95%B0%E6%8D%AE%E5%BA%93%E7%9A%84%E6%95%B0%E6%8D%AE%E7%9A%84%E5%AD%98%E6%94%BE%E7%9B%AE%E5%BD%95mysql-8-%E4%B8%8D%E9%9C%80%E8%A6%81%E4%BB%A5%E4%B8%8B%E9%85%8D%E7%BD%AE%E7%B3%BB%E7%BB%9F%E8%87%AA%E5%B7%B1%E7%94%9F%E6%88%90%E5%8D%B3%E5%8F%AF%E5%90%A6%E5%88%99%E6%9C%89%E5%8F%AF%E8%83%BD%E6%8A%A5%E9%94%99"><span class="toc-number">4.</span> <span class="toc-text"> 设置 mysql 数据库的数据的存放目录，MySQL 8+ 不需要以下配置，系统自己生成即可，否则有可能报错</span></a></li><li class="toc-item toc-level-1"><a class="toc-link" href="#datadirfdatabasesqldata"><span class="toc-number">5.</span> <span class="toc-text"> datadir&#x3D;F:\DataBase\sqldata</span></a></li><li class="toc-item toc-level-1"><a class="toc-link" href="#%E5%85%81%E8%AE%B8%E6%9C%80%E5%A4%A7%E8%BF%9E%E6%8E%A5%E6%95%B0"><span class="toc-number">6.</span> <span class="toc-text"> 允许最大连接数</span></a></li><li class="toc-item toc-level-1"><a class="toc-link" href="#%E6%9C%8D%E5%8A%A1%E7%AB%AF%E4%BD%BF%E7%94%A8%E7%9A%84%E5%AD%97%E7%AC%A6%E9%9B%86%E9%BB%98%E8%AE%A4%E4%B8%BA8%E6%AF%94%E7%89%B9%E7%BC%96%E7%A0%81%E7%9A%84latin1%E5%AD%97%E7%AC%A6%E9%9B%86"><span class="toc-number">7.</span> <span class="toc-text"> 服务端使用的字符集默认为 8 比特编码的 latin1 字符集</span></a></li><li class="toc-item toc-level-1"><a class="toc-link" href="#%E5%88%9B%E5%BB%BA%E6%96%B0%E8%A1%A8%E6%97%B6%E5%B0%86%E4%BD%BF%E7%94%A8%E7%9A%84%E9%BB%98%E8%AE%A4%E5%AD%98%E5%82%A8%E5%BC%95%E6%93%8E"><span class="toc-number">8.</span> <span class="toc-text"> 创建新表时将使用的默认存储引擎</span></a></li></ol>
      </div>
      <div class="related panel pjax" data-title="系列文章">
      </div>
      <div class="overview panel" data-title="站点概览">
        <div class="author" itemprop="author" itemscope itemtype="http://schema.org/Person">
  <img class="image" itemprop="image" alt="Rain Bear"
      data-src="/blog/images/avatar.jpg">
  <p class="name" itemprop="name">Rain Bear</p>
  <div class="description" itemprop="description"></div>
</div>

<nav class="state">
    <div class="item posts">
      <a href="/blog/archives/">
        <span class="count">11</span>
        <span class="name">文章</span>
      </a>
    </div>
    <div class="item tags">
      <a href="/blog/tags/">
        <span class="count">8</span>
        <span class="name">标签</span>
      </a>
    </div>
</nav>

<div class="social">
      <span class="exturl item github" data-url="aHR0cHM6Ly9naXRodWIuY29tL2ZhaXJ5Nw==" title="https:&#x2F;&#x2F;github.com&#x2F;fairy7"><i class="ic i-github"></i></span>
      <span class="exturl item zhihu" data-url="aHR0cHM6Ly9naXRlZS5jb20vZmFpcnk3Nw==" title="https:&#x2F;&#x2F;gitee.com&#x2F;fairy77"><i class="ic i-gitee"></i></span>
      <span class="exturl item music" data-url="aHR0cHM6Ly9tdXNpYy4xNjMuY29tLyMvdXNlci9ob21lP2lkPTI1Njk2NTkxNg==" title="https:&#x2F;&#x2F;music.163.com&#x2F;#&#x2F;user&#x2F;home?id&#x3D;256965916"><i class="ic i-cloud-music"></i></span>
</div>

<ul class="menu">
  
    
  <li class="item">
    <a href="/blog/" rel="section"><i class="ic i-home"></i>首页</a>
  </li>

    
  <li class="item">
    <a href="/blog/about/" rel="section"><i class="ic i-user"></i>关于</a>
  </li>

        
  <li class="item dropdown">
      <a href="javascript:void(0);"><i class="ic i-feather"></i>文章</a>
    <ul class="submenu">

        
  <li class="item">
    <a href="/blog/archives/" rel="section"><i class="ic i-list-alt"></i>归档</a>
  </li>

        
  <li class="item">
    <a href="/blog/categories/" rel="section"><i class="ic i-th"></i>分类</a>
  </li>

        
  <li class="item">
    <a href="/blog/tags/" rel="section"><i class="ic i-tags"></i>标签</a>
  </li>

  </ul>
    
  <li class="item">
    <a href="/blog/friends/" rel="section"><i class="ic i-heart"></i>friends</a>
  </li>

    
  <li class="item">
    <a href="/blog/links/" rel="section"><i class="ic i-magic"></i>links</a>
  </li>


</ul>

      </div>
    </div>
  </div>

  <ul id="quick">
    <li class="prev pjax">
        <a href="/blog/2020/02/28/%E8%8E%B7%E5%8F%96%E7%94%A8%E9%94%AE%E7%9B%98%E8%BE%93%E5%85%A5%E5%B8%B8%E7%94%A8%E7%9A%84%E4%B8%A4%E7%A7%8D%E6%96%B9%E6%B3%95/" rel="prev" title="上一篇"><i class="ic i-chevron-left"></i></a>
    </li>
    <li class="up"><i class="ic i-arrow-up"></i></li>
    <li class="down"><i class="ic i-arrow-down"></i></li>
    <li class="next pjax">
        <a href="/blog/2020/02/29/git-operation/" rel="next" title="下一篇"><i class="ic i-chevron-right"></i></a>
    </li>
    <li class="percent"></li>
  </ul>
</div>


        </div>
        <div class="dimmer"></div>
      </div>
    </main>
    <footer id="footer">
      <div class="inner">
        <div class="widgets">
          
<div class="rpost pjax">
  <h2>随机文章</h2>
  <ul>
      
  <li class="item">
    
<div class="breadcrumb">
</div>

    <span><a href="/blog/2020/02/28/%E8%8E%B7%E5%8F%96%E7%94%A8%E9%94%AE%E7%9B%98%E8%BE%93%E5%85%A5%E5%B8%B8%E7%94%A8%E7%9A%84%E4%B8%A4%E7%A7%8D%E6%96%B9%E6%B3%95/" title="获取用键盘输入常用的两种方法">获取用键盘输入常用的两种方法</a></span>
  </li>

      
  <li class="item">
    
<div class="breadcrumb">
</div>

    <span><a href="/blog/2020/02/29/git-operation/" title="Git&amp;Github">Git&Github</a></span>
  </li>

      
  <li class="item">
    
<div class="breadcrumb">
</div>

    <span><a href="/blog/2020/02/29/MySQL%E5%AE%89%E8%A3%85/" title="MySQL安装">MySQL安装</a></span>
  </li>

      
  <li class="item">
    
<div class="breadcrumb">
</div>

    <span><a href="/blog/2020/03/08/SpringBoot/" title="SpringBoot学习笔记1">SpringBoot学习笔记1</a></span>
  </li>

      
  <li class="item">
    
<div class="breadcrumb">
</div>

    <span><a href="/blog/2020/03/01/%E9%85%8D%E7%BD%AELinux%E8%99%9A%E6%8B%9F%E6%9C%BA/" title="配置Linux虚拟机">配置Linux虚拟机</a></span>
  </li>

      
  <li class="item">
    
<div class="breadcrumb">
</div>

    <span><a href="/blog/2020/03/01/linux-basic-operation/" title="Linux基本操作">Linux基本操作</a></span>
  </li>

      
  <li class="item">
    
<div class="breadcrumb">
</div>

    <span><a href="/blog/2020/03/20/MySQL%E7%B4%A2%E5%BC%95%E5%8E%9F%E7%90%86/" title="MySQL索引原理">MySQL索引原理</a></span>
  </li>

      
  <li class="item">
    
<div class="breadcrumb">
</div>

    <span><a href="/blog/2020/03/19/%E6%95%B0%E7%BB%84%E7%9A%84%E4%BD%BF%E7%94%A8/" title="数组的使用">数组的使用</a></span>
  </li>

      
  <li class="item">
    
<div class="breadcrumb">
</div>

    <span><a href="/blog/2020/02/28/String%E5%92%8CStringBuffer%E3%80%81StringBuilder%E7%9A%84%E5%8C%BA%E5%88%AB%EF%BC%9F/" title="String和StringBuffer、StringBuilder的区别？">String和StringBuffer、StringBuilder的区别？</a></span>
  </li>

      
  <li class="item">
    
<div class="breadcrumb">
</div>

    <span><a href="/blog/2020/03/03/Nginx/" title="Nginx学习笔记">Nginx学习笔记</a></span>
  </li>

  </ul>
</div>
<div>
  <h2>最新评论</h2>
  <ul class="leancloud-recent-comment"></ul>
</div>

        </div>
        <div class="status">
  <div class="copyright">
    
    &copy; 2019 – 
    <span itemprop="copyrightYear">2021</span>
    <span class="with-love">
      <i class="ic i-sakura rotate"></i>
    </span>
    <span class="author" itemprop="copyrightHolder">Rain Bear @ 夏季大三角</span>
  </div>
  <div class="count">
    <span class="post-meta-item-icon">
      <i class="ic i-chart-area"></i>
    </span>
    <span title="站点总字数">106k 字</span>

    <span class="post-meta-divider">|</span>
    <span class="post-meta-item-icon">
      <i class="ic i-coffee"></i>
    </span>
    <span title="站点阅读时长">1:36</span>
  </div>
  <div class="powered-by">
    基于 <span class="exturl" data-url="aHR0cHM6Ly9oZXhvLmlv">Hexo</span> & Theme.<span class="exturl" data-url="aHR0cHM6Ly9naXRodWIuY29tL2FtZWhpbWUvaGV4by10aGVtZS1zaG9rYQ==">Shoka</span>
  </div>
</div>

      </div>
    </footer>
  </div>
<script data-config type="text/javascript">
  var LOCAL = {
    path: '2020/02/29/MySQL安装/',
    favicon: {
      show: "（●´3｀●）やれやれだぜ",
      hide: "(´Д｀)大変だ！"
    },
    search : {
      placeholder: "文章搜索",
      empty: "关于 「 ${query} 」，什么也没搜到",
      stats: "${time} ms 内找到 ${hits} 条结果"
    },
    valine: true,fancybox: true,
    copyright: '复制成功，转载请遵守 <i class="ic i-creative-commons"></i>BY-NC-SA 协议。',
    ignores : [
      function(uri) {
        return uri.includes('#');
      },
      function(uri) {
        return new RegExp(LOCAL.path+"$").test(uri);
      }
    ]
  };
</script>

<script src="https://cdn.polyfill.io/v2/polyfill.js"></script>

<script src="//cdn.jsdelivr.net/combine/npm/pace-js@1.0.2/pace.min.js,npm/pjax@0.2.8/pjax.min.js,npm/whatwg-fetch@3.4.0/dist/fetch.umd.min.js,npm/animejs@3.2.0/lib/anime.min.js,npm/algoliasearch@4/dist/algoliasearch-lite.umd.js,npm/instantsearch.js@4/dist/instantsearch.production.min.js,npm/lozad@1/dist/lozad.min.js,npm/quicklink@2/dist/quicklink.umd.js"></script>

<script src="/blog/js/app.js?v=0.2.5"></script>




</body>
</html>
